package scc.project.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import scc.project.dao.StockInfoDao;
import scc.project.entity.StockInfo;

/**
 * 进货的业务类
 *
 * @author 陈圳佳
 *         日期：2015/6/22
 */
@Service
public class StockInfoService {

    @Autowired
    private StockInfoDao stockInfoDao;

    public boolean save(StockInfo stockInfo) {
        return stockInfoDao.insert(stockInfo) > 0;
    }

}
